import './assets/main.css'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'


const app = createApp(App)
app.config.errorHandler = (err) => {
    /* 处理错误 */
    console.log(err, '报错');
}
import antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css';
app.use(antd);
app.provide('router', router)
app.use(router)
app.mount('#app')

